package com.jia.lidao.enity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 00029935 on 2017/12/9.
 */

public class OpenAreas {

    /**
     * err_code : 0
     * err_msg : OK
     * timestamp : 1512794811
     * areas : [{"id":7,"name":"北京"},{"id":6,"name":"苏州"}]
     */

    private int err_code;
    private String err_msg;
    private int timestamp;
    private List<AreasBean> areas;

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public List<AreasBean> getAreas() {
        return areas;
    }

    public void setAreas(List<AreasBean> areas) {
        this.areas = areas;
    }

    public static class AreasBean implements Serializable{
        /**
         * id : 7
         * name : 北京
         */

        private int id;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
